Fix crossing event generation
authorMatthias Clasen <mclasen@redhat.com>
Thu, 2 Apr 2020 04:39:46 +0000 (00:39 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 2 Apr 2020 04:39:46 +0000 (00:39 -0400)
commitfcd36e59b12c9c476e3882bea6b0f51eafacd864
tree296a5a06d781d254a084b90f80c05021c06a33e7
parent8196478b192b95cc0f4aea985baf34a363f4b768
Fix crossing event generation

We were not properly setting the new_descendent field
in Crossing structs for GTK_CROSSING_OUT events. This
was causing extraneous ::leave signals to be emitted,
and make model buttons in popover menus flicker when
hovered.

Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/2536
gtk/gtkmain.c